@echo off

set PGCLIENTENCODING=UTF-8
set PGUSER=postgres
set PGPASSWORD=postgres
set PGDATABASE=postgres

@echo off
echo Create database
psql -q -f "create_database.sql"

set PGDATABASE=sample

echo Create tables and init data
psql -q -f "schema-generate.sql"
psql -q -f "init-data.sql"

